package com.ihr360.oneclick.vo;

import java.util.List;

public class SpreadsheetRowDetailVo {

    private Integer rowIndex;

    List<RowColumnDetail> rowColumnDetails;

    public static class RowColumnDetail{

        private String columnFieldMeta;

        /**
         * 标记为哪一个固定列
         */
        private String columnFieldName;
        /**
         * 显示名称
         */
        private String columnDisplayName;

        /**
         * 显示值
         */
        private Object value;

        /**
         * 是否固定列
         */
        private Boolean fixedColumn;

        /**
         * 列在表格中的位置
         */
        private int columnIndex;

        /**
         * 是否必填
         */
        private Boolean required;

        /**
         * 国际化
         */
        private String columni8nKey;

        /**
         * 是否允许修改
         */
        private Boolean update = true;

        public String getColumnFieldMeta() {
            return columnFieldMeta;
        }

        public void setColumnFieldMeta(String columnFieldMeta) {
            this.columnFieldMeta = columnFieldMeta;
        }

        public String getColumnFieldName() {
            return columnFieldName;
        }

        public void setColumnFieldName(String columnFieldName) {
            this.columnFieldName = columnFieldName;
        }

        public String getColumnDisplayName() {
            return columnDisplayName;
        }

        public void setColumnDisplayName(String columnDisplayName) {
            this.columnDisplayName = columnDisplayName;
        }

        public Object getValue() {
            return value;
        }

        public void setValue(Object value) {
            this.value = value;
        }

        public Boolean getFixedColumn() {
            return fixedColumn;
        }

        public void setFixedColumn(Boolean fixedColumn) {
            this.fixedColumn = fixedColumn;
        }

        public int getColumnIndex() {
            return columnIndex;
        }

        public void setColumnIndex(int columnIndex) {
            this.columnIndex = columnIndex;
        }

        public Boolean getRequired() {
            return required;
        }

        public void setRequired(Boolean required) {
            this.required = required;
        }

        public String getColumni8nKey() {
            return columni8nKey;
        }

        public void setColumni8nKey(String columni8nKey) {
            this.columni8nKey = columni8nKey;
        }

        public Boolean getUpdate() {
            return update;
        }

        public void setUpdate(Boolean update) {
            this.update = update;
        }
    }

    public Integer getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
    }

    public List<RowColumnDetail> getRowColumnDetails() {
        return rowColumnDetails;
    }

    public void setRowColumnDetails(List<RowColumnDetail> rowColumnDetails) {
        this.rowColumnDetails = rowColumnDetails;
    }
}
